<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"
	name="viewport" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="applicable-device" content="pc,mobile">
<title>文章详情页</title>
<meta name="keywords" content="Word,中,如何,手动,制作,目" />
<meta name="description"
	content="通常情况下，我们用Word制作目录，都是根据内容自动生成出来的。不过根据不同的需求，也有许多人希望能够手动制作目录，不要自动生成的。 当然，各有各的优势，自动生成目录不" />
<link href="../css/swiper.min.css" rel="stylesheet" type="text/css">
<link href="../css/mian.css" rel="stylesheet" type="text/css">
<!-- 引入Vue -->
<script src="../js/vue.min.js"></script>
<!-- 引入axios -->
<script type="text/javascript"
	src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
	<script type="text/javascript" src="../js/top.js"></script>
<script type="text/javascript" src="../webjars/layui/2.5.6/layui.all.js"></script>
<style type="text/css">
#sc {
	border-top: 2px solid #eee;
	margin-top: 25px;
	padding-top: 25px;
}

#sc dl {
	float: left;
	width: 25%;
	padding-bottom: 25px;
	text-align: center;
	font-family:SSTHeiti;
}
#logimg{
width:50px;}
#sc dl dt{
	font-family:华文细黑;
	font-size: 16px;
}
#sc dl dd{
color:rgba(0,0,0,.66);
	font-family:华文细黑;
	font-size: 21px;
}

.btn_a{
	
    display:inline-block;
    margin:0px 0px 5px 5px;
    padding:6px 8px;
    font-size:14px;
    outline:none;
    width:200px;
    line-height:30px;
    cursor: pointer;
   

}

.btn_a:hover {
    color:white;
   
}
.button {
	margin: 0px 20px;
	display:inline-block;
	position: relative;
	background-color: #4CAF50;
	border: none;
	font-size: 20px;
	color: #FFFFFF;
	padding: 10px;
	width: 100px;
	text-align: center;
	-webkit-transition-duration: 0.4s; /* Safari */
	transition-duration: 0.4s;
	text-decoration: none;
	overflow: hidden;
	cursor: pointer;
}

.button:after {

	content: '';
	background: #90EE90;
	display: block;
	position: absolute;
	padding-top: 300%;
	padding-left: 350%;
	margin-left: -20px !important;
	margin-top: -120%;
	opacity: 0;
	transition: all 0.8s
}

.button:active:after {
	padding: 0;
	margin: 0;
	opacity: 1;
	transition: 0s
}
</style>
</head>
<body>
	<div class="topmenu" id="tophead">
	<div id = "header">
		<top></top>
	</div>
		<script type="text/javascript">
			new Vue({
				el:"#header",
			})
			</script>
	</div>

	<div class="subbody">
		<div class="wrap">
			<div class="row">
				<div class="left">
					<div class="article-con">
						<!-- <div class="postion">
							当前位置：<a href='javascript:0'>主页</a> > <a href='javascript:0'>阵法</a>
							> <a href='javascript:0'>Word宏案例</a> >
						</div> -->
						<div class="art-con">
							<h1>{{artical.utitle}}</h1>
							<div class="posts-default-info">
								<ul>
									<li class="post-author">
										<div class="avatar">
											<img src="../images/wordlm.jpg" height="96" width="96">
										</div>
									</li>
									<li class="ico-cat"><i class="iconfont icon-liebiao"></i>
										<a href='javascript:0'>{{artical.log}}</a></li>
									<li class="ico-time"><i
										class="iconfont icon-iconfontshijian"></i>{{artical.createTime}}</li>
									<li class="ico-eye"><i class="iconfont icon-yanjing1">{{artical.visit}}</i></li>
								</ul>
							</div>
							<div class="art-txt">
								<p>&nbsp;</p>
								<p>
									<img alt="Word中如何手动制作目录" :src="artical.uimage" />
								</p>
								<div v-html="artical.ucontent"></div>
							</div>
							<div class="shareBox">
								<p>
									<a class="sharebtn pay-author" v-show="dzstate==1" @click="dz()">点赞:{{artical.praise}}</a>
									<a class="sharebtn pay-author" v-show="dzstate==2" @click="qxdz()">已点赞:{{artical.praise}}</a>
									<!-- <iframe scrolling="no" width="130px" height="60px" frameborder="0" src="dzbutton.html"></iframe> -->
								</p>
								<p>
									<a class="sharebtn pay-author" v-show="scstate==1" @click="sc()">收藏:{{artical.collection}}</a>
									<a class="sharebtn pay-author" v-show="scstate==2" @click="qxsc()">已收藏:{{artical.collection}}</a>
								</p>
								<p>
									<a class="sharebtn pay-author">访问量:{{artical.visit}}</a>
								</p>
								<div class="socialBox">
									<div class="panel-reward">
										<ul>
											<li class="weixinpay"><img
												src="../images/follow-weixin.jpg"><b>关注微信</b></li>
										</ul>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- 猜你喜欢-->
					<div class="article-con">
						<h3 class="subtitle">
							<span>猜你喜欢</span>
						</h3>
						<ul class="sub-news">
							<li v-for = "rad in ARandom"><a :href='"article.html?uaid="+rad.uaid'>{{rad.utitle}}</a></li>
						</ul>
					</div>
					<!-- 评论  -->
					<iframe src="comment.html" width="100%" height="500" frameborder="0" scrolling="yes"></iframe>
					
				</div>
				<!-- 右侧 -->
				<div class="right">
					<div class="widget">
						<h3>
							<span>作者信息</span>
						</h3>
						<div class="widge_tags">
							<div>
							<a :href="'../Mp/index.html?id='+Author.id" style="width: 30%;">
								<img alt="" :src="Author.image"
									style="width: 80px"></a> <a  class = "btn_a" style="font-size: 30px;width: 50%;margin-top: 5%;">{{Author.name}}</a>
							 
							</div>
							<div id="sc">
								<dl>
									<dt>{{All[0]}}</dt>
									<dd>粉丝</dd>
								</dl>
								<dl>
									<dt>{{All[1][0]["SUM(praise)"]}}</dt>
									<dd>点赞</dd>
								</dl>
								<dl>
									<dt>{{All[1][0]["SUM(chat)"]}}</dt>
									<dd>评论</dd>
								</dl>
								<dl>
									<dt>{{All[1][0]["SUM(collection)"]}}</dt>
									<dd>收藏</dd>
								</dl>
							</div>
							<div style="text-align:center">
								
								<button @click="GZ()"  v-show="this.state==1" class="button">关注</button>
								<button  @click="GZ()" v-show="this.state==2" class="button">已关注</button>
								<button  v-show="this.state==1" class="button" @click="window.open('../chat/index.html?id='+Author.id)" >私信</button>
								<button  v-show="this.state==2" class="button" @click="window.open('../chat/index.html?id='+Author.id)" >私信</button>
							</div>
						</div>   
					</div>
					<div class="widget">

						<h3>
							<span>阅读排行</span>
						</h3>

						<ul id="section-6" class="recent-posts-widget">

							<li v-for="rk in ranks">

								<div class="recent-posts-img">
									<a :href="'article.html?uaid='+rk.uaid"><img
										:src="rk.uimage" class="thumbnail" alt="设置幻灯片画笔标记：星辰玩PPT第二十五"></a>
								</div>

								<div class="recent-posts-title">

									<h4 class="tit">
										<a :href="'article.html?uaid='+rk.uaid">{{rk.utitle}}</a>
									</h4>

									<span class="info"><i class="iconfont icon-yanjing1"></i>
										{{rk.praise}}</span>
								</div>

							</li>
						</ul>

					</div>

	
					<div class="widget"   id = "FlZL">
						<h3>
							<span>分类专栏</span>
						</h3>
						<ul class="recent-posts-widget">
							<li v-for="(f,is) in Fl">
								<div class="recent-posts-img">
									<a :href="'../seacher/index.html?log='+f.log+'&page=1'" id="logimg" ><img
										src="../images/15U55TA46210-143O0.gif" class="thumbnail"
										alt="Word中如何手动制作目录 手动目录的2种方"></a>
								</div>
								<div class="recent-posts-title">
									<h4 class="tit">
										<a :href="'../seacher/index.html?log='+f.log+'&page=1'">{{f.log}}</a>
									</h4>
									<span class="info">
									{{counts[is]}}篇</span>
								</div>
							</li>
						</ul>
					</div>
					
					<div class="widget">
						<h3>
							<span>关注我们</span>
						</h3>
						<div class="attentionus">
							<ul class="items clearfix">
								<span class="social-widget-link social-link-wechat"> <span
									class="social-widget-link-count"><i
										class="iconfont icon-iconfontmoban"></i>微信公众号</span> <span
									class="social-widget-link-title">微信公众号</span> <a
									id="tooltip-s-weixin" href="javascript:void(0);"></a>
								</span>
								<span class="social-widget-link social-link-taobao-wangxiao">
									<span class="social-widget-link-count"><i
										class="iconfont icon-taobao1"></i>淘宝网店</span> <span
									class="social-widget-link-title">淘宝网店</span> <a
									href='javascript:0' target="_blank" rel="nofollow"></a>
								</span>
								<span class="social-widget-link social-link-ketang"> <span
									class="social-widget-link-count"><i
										class="iconfont icon-xuexi"></i>在线课堂</span> <span
									class="social-widget-link-title">在线课堂</span> <a
									href='javascript:0' target="_blank" rel="nofollow"></a>
								</span>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript">
		var v = new Vue({
			el : ".subbody",
			data : {
			   artical : [],
	     	   dzstate : 1,
	     	   scstate : 1,
	       	   Author:[],
			   All:[],
			   MyId:[],
			   state:1,
			   ranks:[],
			   Fl:[],
			   FlLog:"",
			   counts:[],
			   ARandom : [],
			},
			created(){
				var params = new URLSearchParams()
    		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1")
    		  	params.append("uaid",uaid)
    		  	/*点赞状态*/
	   		  	axios.post("../artical/qrDZ.s",params).then(res=>{
	   				if(res.data[0]== null){
	   					this.dzstate=1
	   				}else{
	   					this.dzstate=2
	   				}
	   			})
	   			/*收藏状态*/
	   			axios.post("../artical/qrSC.s",params).then(res=>{
	   				if(res.data[0]== null){
	   					this.scstate=1
	   				}else{
	   					this.scstate=2
	   				}
	   			})
	   			axios.post("../show/artical.s",params).then(res=>{
	   				this.artical = res.data[0];
	   				axios.get("../show/showLike.s").then(res=>{
	   					this.ARandom =	res.data 
	   					console.info(res.data)
	   					})
	   			})
	   			axios.get("../show/rank.s").then(res=>{
	   				this.ranks = res.data;
	   			})
	   			axios.post("../show/artical.s",params).then(res=>{
	   				this.FlLog = res.data[0].log;
	   				params.append("FlLog",this.FlLog);
	   				console.info(this.FlLog);
	   				axios.post("../artical/GetFl.s",params).then(res=>{
	   					this.Fl = res.data;
	   					for(i of res.data){
	   						params.append("Logs",i.log);
	   					}
	   					axios.post("../artical/GetFlCount.s",params).then(res=>{
   							 this.counts = res.data
   						})
	   				})		
	   			})
	   			//进此页面就加访问一次
	   			axios.post("../artical/insertVisit.s",params);
	   			//启动定时任务
				window.setInterval(()=>{
					this.query();
				},3000);
			},
			methods : {
				dz(){
	   				this.dzstate = 2;
	   				var params = new URLSearchParams();
        		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1");
        		  	params.append("uaid",uaid);
    	   			axios.post("../artical/addDZ.s",params)
    	   			axios.post("../artical/dz.s",params);
    	   			axios.post("../show/artical.s",params).then(res=>{
    	   				this.artical = res.data[0];
    	   			});
	   			},
	   			qxdz(){
	   				this.dzstate = 1;
	   				var params = new URLSearchParams();
        		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1");
        		  	params.append("uaid",uaid);
    	   			axios.post("../artical/dtDZ.s",params);
        			axios.post("../artical/qxdz.s",params);
        			axios.post("../show/artical.s",params).then(res=>{
    	   				this.artical = res.data[0];
    	   			});
	   			},
	   			sc(){
	   				this.scstate = 2;
	   				var params = new URLSearchParams();
	   				let link = location.href;
        		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1");
        		  	params.append("uaid",uaid);
        		  	params.append("link",link);
        			axios.post("../artical/sc.s",params);
        			//插入数据到collection表
        			axios.post("../collection/insertCollection.s",params);
        			axios.post("../artical/addSC.s",params);
        			axios.post("../show/artical.s",params).then(res=>{
    	   				this.artical = res.data[0];
    	   			});
	   			},
	   			qxsc(){
	   				this.scstate = 1;
	   				var params = new URLSearchParams();
	   				let link = location.href;
	   				console.info(link);
        		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1");
        		  	params.append("uaid",uaid);
        		  	params.append("link",link);
        			//collection表删除数据
        			axios.post("../collection/delCollection.s",params);
        			axios.post("../artical/dtSC.s",params);
        			axios.post("../artical/qxsc.s",params);
        			axios.post("../show/artical.s",params).then(res=>{
    	   				this.artical = res.data[0];
    	   			});
	   			},
	   			GZ(){
					var params = new URLSearchParams();
					params.append("uid",this.Author.id);
					if(this.state==2){
						axios.post("../user/DtGz.s",params); 
						this.state=1
					}else{
						axios.post("../user/Gz.s",params); 
						this.state=2
					}
				},
				query(){
					var param = new URLSearchParams();
        		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1");
        			param.append("uaid",uaid);
					axios.post("../artical/GetFence.s",param).then(res=>{
		   				this.All = res.data;
		   			});
				}
			},
			mounted:function(){ 
				
			 	var params = new URLSearchParams();
    		  	let uaid = location.search.replace(/\?uaid=(\d+)/, "$1");
    		  	params.append("uaid",uaid);
    			axios.post("../artical/getAuthor.s",params).then(res=>{
	   				this.Author = res.data[0];
	   			})
	   			axios.post("../artical/GetFence.s",params).then(res=>{
	   				this.All = res.data;
	   			})		
				axios.get("../top.s").then(res=>{
	   				if(res.data==null){
	   					alert("请先登录")
	   					location.href = "login.html"
	   				}else{
	   					if(this.Author.id==res.data.id){
	   						this.state=0
	   					}else{
	   						axios.get("../user/isGz.s").then(res=>{
	   							for( i of res.data){
	   								if(i.baccountId==this.Author.id){
	   									this.state=2
	   								}else{
	   									this.state=1
	   								}	
	   							}
	   						})
	   					}
	   					this.MyId = res.data;
	   				}
	   			})	
			}
		})
	</script>
	<div class="footer">
		<div class="wrap">
			<div class="social-footer">
				<a id="tooltip-f-weixin" class="wxii" href="javascript:void(0);"><i
					class="iconfont icon-iconfontmoban"></i></a> <a class="taobaodibu"
					href="https://www.taobao.com/" target="_blank" rel="nofollow"
					title="淘宝"><i class="iconfont icon-taobao1"></i></a> <a
					class="ketangdibu" href="" target="_blank"><i
					class="iconfont icon-xuexi"></i></a>
			</div>
			<div class="nav-footer">
				<a href='javascript:0'>网站首页</a> <a href='javascript:0'
					class='thisclass'>阵法</a> <a href='javascript:0'>Excel教程</a> <a
					href='javascript:0'>PPT教程</a> <a href='javascript:0'>WPS教程</a> <a
					href='javascript:0'>办公软件</a> <a href='javascript:0'>今日特价</a> <a
					href='javascript:0'>关于我们</a>
			</div>
			<div class="copyright-footer">
				<p>
					Copyright &copy; 2002-2020 折优优 版权所有 <a href='javascript:0'
						target="_blank" rel="nofollow">皖ICP备17011273号-1</a> <a
						href='javascript:0' target="_blank">XML地图</a>
				</p>
			</div>
			<div class="links-footer">
				<span>友情链接：</span> <a href='http://www.tkv5.cn' target='_blank'>网站源码</a>
				<a href='http://www.tkv5.cn' target='_blank'>织梦模板</a> <a
					href='http://www.tkv5.cn' target='_blank'>模版下载</a> <a
					href='http://www.tkv5.cn' target='_blank'>dedecms模板</a> <a
					href='http://www.tkv5.cn' target='_blank'>dede模版</a> <a
					href='http://www.tkv5.cn' target='_blank'>仿站</a> <a
					href='http://www.tkv5.cn' target='_blank'>图标下载</a> <a
					href='http://www.tkv5.cn' target='_blank'>网站模板</a> <a
					href='http://www.tkv5.cn' target='_blank'>源码下载</a>
			</div>
		</div>
	</div>
	<!-- 返回顶部按钮-->
	<div class="backtop" id="backtop">
		<i class="iconfont icon-xiangshang"></i>
	</div>
	<!-- 搜索框-->
	<div class="search-box">
		<div class="search-close">
			<i class="iconfont icon-guanbi"></i>
		</div>
		<div class="search-con">
			<dl class="se">
				<form name="formsearch" action="/plus/search.php">
					<input type="hidden" name="kwtype" value="0" />
					<dt>
						<input name="q" type="text" class="search-keyword"
							id="search-keyword" value="输入搜索关键词"
							onfocus="if(this.value=='输入搜索关键词'){this.value='';}"
							onblur="if(this.value==''){this.value='输入搜索关键词';}" />
					</dt>
					<dd>
						<button type="submit">
							<i class="iconfont icon-sousuo"></i>
						</button>
					</dd>
				</form>
			</dl>
			<div class="search-tips">大家都在搜</div>
			<div class="search-as">
				<a href='javascript:0'>ppt</a> <a href='javascript:0'>word</a> <a
					href='javascript:0'>价值</a> <a href='javascript:0'>生成</a> <a
					href='javascript:0'>表格</a>
			</div>
		</div>
	</div>
	<!-- 微信二维码-->
	<div class="f-weixin-dropdown">
		<div class="tooltip-weixin-inner">
			<h3>微信公众号</h3>
			<div class="qcode">
				<img src="../images/follow-weixin.png" width="160" height="160" />
			</div>
		</div>
		<i class="iconfont icon-guanbi close_tip"></i>
	</div>
	<script type="text/javascript" src="../js/jquery.min.js"></script>
	<script type="text/javascript" src="../js/swiper.min.js"></script>
	<script type="text/javascript" src="../js/slide.js"></script>
	<script> window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
</body>
</html>